package com.carpedil.ms.mapper;

import com.carpedil.ms.entity.Order;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/** @author Administrator */
@Repository
public interface OrderMapper {
  int createOrder(Order order);

  List<Order> checkOrderByUserName(@Param("username") String username);
}
